package dao;

import java.io.FileReader;
import java.util.Properties;

public class PropertyIO {

	public static Properties load(String filename){
		Properties property = new Properties();
		
		try {
			property.load(new FileReader(filename));
		} catch (Exception e) {
			throw new RuntimeException(e);
		}
		
		return property;
	}
}
